<template>
    <el-main>
        <el-main class="ep-body">
			<epl-top-bar :datas="{formData:form}" showPerson personType="PERSON_ALL_EXACT" psTagType="PERSON_INJURY_QUERY">
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
			<epl-userMessage dataType="person" idCount="1" >
            </epl-userMessage>
 			<el-card class="ep-card">
            <el-form :model="form" ref="form" :rules="rules">
                 <el-card class="ep-card">
                    <el-row :gutter="10">
                        <ep-date  colspan="8" label="审核日期" name="CZDATE" :property="form.CZDATE" format="yyyyMM" value-format="yyyyMM"
                                  p="E"   :datas="{formData :form}" ></ep-date>
                        <ep-input  label="身份证件号" name="aae135" :property="form.aae135"
                                   colspan="8"     p="E"   :datas="{formData :form}" ></ep-input>
                        <ep-button  api="doQuery"  type="primary"
                                    :datas="{formData: form}"
                                    name="查询"></ep-button>
                    </el-row>
            </el-card>
            <el-card class="ep-card">
                <ep-table :data="tableData1" name="tableData1"  api="doQuery"  :pager="20" rowDbClick>
                    <ep-table-column editor="index" width="50"></ep-table-column>
                    <ep-table-column editor="text"   header="申报编号" name="bae506" width="150"></ep-table-column>
                    <ep-table-column editor="select" header="文书类型" name="bae508s" width="150" codetype="BAE508S"  ></ep-table-column>
                    <ep-table-column editor="text"   header="身份证" name="aac147"  width="100"></ep-table-column>
                    <ep-table-column editor="text"   header="工伤职工姓名"  name="aac003"  width="100" ></ep-table-column>
                    <ep-table-column editor="date"   header="申报日期"  name="aae127"  width="100" date-type="date" format="yyyyMMdd" value-format="yyyy-MM-dd" ></ep-table-column>
                    <ep-table-column editor="date"   header="审核日期"  name="blc537"  width="100" date-type="date" format="yyyyMMdd" value-format="yyyy-MM-dd" ></ep-table-column>
                    <ep-table-column editor="select" header="工伤类别"  name="acl027"  width="100"  codetype="ACL027"  ></ep-table-column>
                    <ep-table-column editor="text"   header="鉴定结论"  name="eae006"  width="100" ></ep-table-column>
                </ep-table>
            </el-card>
					<el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save"
                                      @formValidate="formValidate"
                                       :validate="['form']"
                                       :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
                         <ep-Button id="" top="20" type="primary" bottom="20"
                                   name="清空"></ep-Button>              
                    </el-row>
                </el-form>
                </el-card>
        </el-main>
    </el-main>
</template>

<script src="../js/DocumentIssueJS.js"></script>
